package cn.itcast.cd.service.impl;

import cn.itcast.cd.dao.IStudentDao;
import cn.itcast.cd.domain.Student;
import cn.itcast.cd.service.IStudentService;

public class StudentServiceImpl implements IStudentService {

	private IStudentDao studentDao;
	
	public void setStudentDao(IStudentDao studentDao) {
		this.studentDao = studentDao;
	}

	@Override
	public void save(Student s) {
		studentDao.save(s);
	}

}
